﻿using System.Security.Claims;

namespace zhwy.saas.api.Services.Sinterface
{
    public interface ITokenService
    {
        string GenerateToken(string userId, string tenantId, string userName, IEnumerable<string> roles = null);
        ClaimsPrincipal ValidateToken(string token);
    }
}
